package com.example.common.view.model

import com.example.common.view.api.BaseApiServer

/**
 * 基础仓库层
 */
abstract class BaseRepository<S:BaseApiServer> {
    protected var apiServer:S
    init {
        apiServer = createApiServer()
    }

    protected abstract fun createApiServer(): S
}